package grailsforum

class Post {

    String text
    int position
    Date date;

    static constraints = {
        text(nullable: false, blank: false, minSize: 2)
        position(nullable: false)
        date(nullable: false)
    }

    static belongsTo = [thread: Thread, user: User]



}
